import httpInstance from "@/utils/http";

//获取订单
/*
params: {
  orderState:0,
  page:1,
  pageSize:2
}
*/


export const getUserOrder = (orderState, page, pageSize) => {
  return httpInstance.get('/member/order', {
    params: {
      orderState,
      page,
      pageSize
    }
  })
}
